package cn.zhl.设计模式.访问者;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2021-03-22 17:08
 **/
public class Success implements Action{
	@Override
	public void getManResult(Man man) {
		System.out.println("男人很喜欢");
	}

	@Override
	public void getWomanResult(Woman woman) {
		System.out.println("女人很喜欢");
	}
}
